home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / ibus.prerm < prev    next >
Text File  |  2009-11-05  |  834b  |  41 lines

  1. #!/bin/sh
  2. set -e
  3.  
  4. ua_remove () {
  5.     update-alternatives \
  6.         --remove xinput-$1 \
  7.         /etc/X11/xinit/xinput.d/$2 ;
  8. }
  9.  
  10. case "$1" in
  11.     remove|upgrade|deconfigure)
  12.         ua_remove all_ALL ibus
  13.         ua_remove ja_JP   ibus
  14.         ua_remove ko_KR   ibus
  15.         ua_remove zh_CN   ibus
  16.         ua_remove zh_TW   ibus
  17.         ua_remove zh_HK   ibus
  18.         ua_remove zh_SG   ibus
  19.     ;;
  20.     failed-upgrade)
  21.     ;;
  22.     *)
  23.     echo "prerm called with unknown argument \`$1'" >&2
  24.     exit 1
  25.    ;;
  26. esac
  27.  
  28. # Automatically added by dh_pysupport
  29. if which update-python-modules >/dev/null 2>&1; then
  30.     update-python-modules -c  ibus.private
  31. fi
  32. # End automatically added section
  33. # Automatically added by dh_gconf
  34. if [ "$1" = remove ] || [ "$1" = upgrade ]; then
  35.     gconf-schemas --unregister ibus.schemas 
  36. fi
  37. # End automatically added section
  38.  
  39.  
  40. exit 0
  41.